package com.ecoolex.discount.sales.pojo;

import com.ecoolex.framework.common.annotation.Description;
import org.springframework.lang.NonNull;

public class QueryDiscountProductInventoryDTO {

    @Description({"产品Id"})
    private Integer productId;

    @Description({"卡号/券号"})
    private String voucherNumber;

    public Integer getProductId() {
        return productId;
    }

    public QueryDiscountProductInventoryDTO setProductId(@NonNull Integer productId) {
        this.productId = productId;
        return this;
    }

    public String getVoucherNumber() {
        return voucherNumber;
    }

    public QueryDiscountProductInventoryDTO setVoucherNumber(String voucherNumber) {
        this.voucherNumber = voucherNumber;
        return this;
    }

    @Override
    public String toString() {
        return "QueryDiscountProductInventoryDTO{" +
                "productId=" + productId +
                ", voucherNumber='" + voucherNumber + '\'' +
                '}';
    }
}
